]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lookingGlass: Use TERMINAL input purpose
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 30 Jul 2026 22:43:12 +0000 (00:43 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 2 Aug 2026 16:54:32 +0000 (18:54 +0200)
Similar to the run dialog, the looking glass evaluator also has some
terminal-like features like tab completion and history navigation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4312>
(cherry picked from commit 0186f09f596807f2159cca4d127134c91c63ed6b)

js/ui/lookingGlass.js

index 4695008167237670249baa864abc2842d5a36d4a..ff24e6b520924fa23b37c0daac80838bc7abb596 100644 (file)
@@ -1423,6 +1423,7 @@ class LookingGlass extends St.BoxLayout {
         this._entryArea.add_child(label);
 
         this._entry = new St.Entry({
+            input_purpose: Clutter.InputContentPurpose.TERMINAL,
             can_focus: true,
             x_expand: true,
         });